//
//  WSLoginViewController.m
//  FamilyLinkPro
//
//  Created by 江鹏 on 2023/9/5.
//  Copyright © 2023 SiterWell.Co.,Ltd. All rights reserved.
//

#import "WSRegisterViewController.h"

@interface WSRegisterViewController ()

@end

@implementation WSRegisterViewController


+ (WSRegisterViewController *)showController:(UIViewController *)viewController {
    WSRegisterViewController *vc = [[WSRegisterViewController alloc] init];
    [viewController.navigationController pushViewController:vc animated:YES];
    return vc;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self setupSubviews];
}


// MARK: 添加子控件
- (void)setupSubviews {
    WSRegisterView *contentView = [[WSRegisterView alloc] initWithFrame:CGRectZero];
    [self.view addSubview:contentView];
    [contentView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view).insets(UIEdgeInsetsZero);
    }];
    contentView.delegate = self;
}


// MARK: WSRegisterViewDelegate

- (void)userProtocolClick {
    
}

- (void)privacyClick {
    
}


- (void)obtainYzmButtonClick {
    [WSInputYzmViewController showController:self];
}



@end
